package com.xidian.yunwudemo.mapper.master;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.yunwudemo.entities.UmsRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * UmsRoleMapper继承基类
 */

public interface UmsRoleMapper extends BaseMapper<UmsRole> {
    /**
     * 获取用户所有角色
     */
    List<UmsRole> getRoleList(@Param("adminId") Long adminId);
}